y1=[1.823 3.64  4.02 7.132 1.065]; %all, ed



figure1=figure;
X=1:6;
h1=bar(X(1),y1(1));

hold on;
h2=bar(X(2),y1(2));

hold on;
h3=bar(X(3),y1(3));

hold on;
h4=bar(X(4),y1(4));

hold on;
h5=bar(X(5),y1(5));



set(h1,'LineStyle','--','LineWidth',1, 'FaceColor', [0.9 0.9 0.9]);
set(h2,'LineStyle','-','LineWidth',3, 'FaceColor', [0.9 0.99 0.9]);

set(h3,'LineStyle','-','LineWidth',3, 'FaceColor', [0.9 0.9 0.99]);
set(h4,'LineStyle','-','LineWidth',3, 'FaceColor', [0.99 0.9 0.9]);
set(h5,'LineStyle','--','LineWidth',1, 'FaceColor', [0.95 0.95 0.95]);


set(gca, 'XTick',[]);
hold on;

% Create ylabel
ylabel('\fontsize{11} Value of DID Coefficient','FontSize',12,...
    'FontName','Times New Roman');

% Create title
title('\fontsize{12} Cumulative unemployment spells','FontSize',12,...
    'FontName','Times New Roman');

% Create textbox
annotation(figure1,'textbox',...
    [0.161964285714286 0.356142857142857 0.129464285714286 0.0615079365079365],...
    'String',{'College'},...
    'FontWeight','bold',...
    'FontName','Times New Roman',...
    'LineStyle','none');

% Create textbox
annotation(figure1,'textbox',...
    [0.2925 0.403761904761904 0.162202380952381 0.14484126984127],...
    'String',{'Vocational'},...
    'FontWeight','bold',...
    'FontName','Times New Roman',...
    'LineStyle','none');

% Create textbox
annotation(figure1,'textbox',...
    [0.601845238095238 0.695428571428572 0.206845238095238 0.14484126984127],...
    'String',{'Manufacturing','Specific','Vocational'},...
    'FontWeight','bold',...
    'FontName','Times New Roman',...
    'LineStyle','none');

% Create textbox
annotation(figure1,'textbox',...
    [0.436011904761904 0.544634920634921 0.178571428571429 0.0615079365079365],...
    'String',{'High School'},...
    'FontWeight','bold',...
    'FontName','Times New Roman',...
    'LineStyle','none');

% Create textbox
annotation(figure1,'textbox',...
    [0.77172619047619 0.276777777777778 0.162202380952381 0.14484126984127],...
    'String',{'Service','Specific','Vocational'},...
    'FontWeight','bold',...
    'FontName','Times New Roman',...
    'LineStyle','none');


ylim([-1  10]);



% 
% h=gcf ;
% saveas(h, 'Figure3.pdf');